import dva from 'dva';
export default{
  namespace: 'dynamic',
  state: {
    channels: [],
  },
  reducers: {
    'select'(state, { payload: id }) {
      return state.channels;
    },
  },
}